package com.sinosoft.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "imagecategory")
public class ImageCategory {
    @Id
    private Integer id;
    private String title;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "ImageCategory{" +
                "id='" + id + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
